package com.ecommerce.model;
import java.io.Serializable;
public class ShopData implements Serializable {
    private String shopName;
    private Integer onSaleProductCount;
    private Double paymentAmount;
    private Double growthRate;
    private Double avgUnitPrice;
    private String shopType;
    private String category;
    private Long timestamp;
    private Integer rank;
    private String rankType;

    // Constructors, Getters and Setters
    public ShopData() {}

    public ShopData(String shopName, Integer onSaleProductCount, Double paymentAmount, 
                   Double growthRate, Double avgUnitPrice, String shopType, String category, 
                   Long timestamp, Integer rank, String rankType) {
        this.shopName = shopName;
        this.onSaleProductCount = onSaleProductCount;
        this.paymentAmount = paymentAmount;
        this.growthRate = growthRate;
        this.avgUnitPrice = avgUnitPrice;
        this.shopType = shopType;
        this.category = category;
        this.timestamp = timestamp;
        this.rank = rank;
        this.rankType = rankType;
    }

    // Getters and Setters...
    public String getShopName() { return shopName; }
    public void setShopName(String shopName) { this.shopName = shopName; }

    public Integer getOnSaleProductCount() { return onSaleProductCount; }
    public void setOnSaleProductCount(Integer onSaleProductCount) { this.onSaleProductCount = onSaleProductCount; }

    public Double getPaymentAmount() { return paymentAmount; }
    public void setPaymentAmount(Double paymentAmount) { this.paymentAmount = paymentAmount; }

    public Double getGrowthRate() { return growthRate; }
    public void setGrowthRate(Double growthRate) { this.growthRate = growthRate; }

    public Double getAvgUnitPrice() { return avgUnitPrice; }
    public void setAvgUnitPrice(Double avgUnitPrice) { this.avgUnitPrice = avgUnitPrice; }

    public String getShopType() { return shopType; }
    public void setShopType(String shopType) { this.shopType = shopType; }

    public String getCategory() { return category; }
    public void setCategory(String category) { this.category = category; }

    public Long getTimestamp() { return timestamp; }
    public void setTimestamp(Long timestamp) { this.timestamp = timestamp; }

    public Integer getRank() { return rank; }
    public void setRank(Integer rank) { this.rank = rank; }

    public String getRankType() { return rankType; }
    public void setRankType(String rankType) { this.rankType = rankType; }

    @Override
    public String toString() {
        return "ShopData{" +
                "shopName='" + shopName + '\'' +
                ", category='" + category + '\'' +
                ", paymentAmount=" + paymentAmount +
                ", growthRate=" + growthRate +
                ", rank=" + rank +
                ", rankType='" + rankType + '\'' +
                '}';
    }}
